﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Index.aspx.cs" MasterPageFile="~/Main.Master"  Inherits="Web._Default" culture="auto" uiculture="auto" %>

<%@ Register src="UserControls/ProductTypeNavigator.ascx" tagname="ProductTypeNavigator" tagprefix="uc1" %>
<%@ Register src="UserControls/MainPrdtShow.ascx" tagname="MainPrdtShow" tagprefix="uc2" %>
<%@ Register src="UserControls/SpecialGoods.ascx" tagname="SpecialGoods" tagprefix="uc3" %>
<asp:Content ID="Content2" runat="server" contentplaceholderid="head">
</asp:Content>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder1" >
   
    <div >
        <table id="content1tab" border="0" cellpadding="0" cellspacing="0"  style=" width:819px; font-size:9pt; font-weight:500; padding-top:20px; text-align:left; " >
            <tr >
              <td>
                  <div style=" width:158px; float:left; margin:0px;">
                  <table border="0" cellpadding="0" cellspacing="0"  width="160px">
                      <tr>                          
                          <td   valign="top" >                            
                             <div style="width: 160px; text-align:left; background-image:url(./Images/Banner/titlebar.gif); background-repeat:no-repeat;" >
                             <div style=" height:18px;text-align:left; padding-left:10px; padding-top:8px; font-size:10pt; color:White;">
                             <span >商品导航</span> 
                             </div>
                             <div class="naviborder" >
                             <uc1:ProductTypeNavigator ID="ProductTypeNavigator1" runat="server" /><br />
                          &nbsp;<br />
                          &nbsp;</div>
                          </div>
                          </td>
                        </tr>
                        <tr>
                             <td class="style9" >                         
                             <div style="width: 160px; text-align:left; background-image:url(./Images/Banner/titlebar.gif); background-repeat:no-repeat;" >
                             <div style=" height:18px;text-align:left; padding-left:10px; padding-top:8px; font-size:10pt; color:White;">
                             <span >精品专卖店</span> 
                             </div>
                             <div class="naviborder" >
                              <asp:DataList ID="dlBrandList" runat="server" Caption="" Width="155px" 
                                  onitemcommand="dlBrandList_ItemCommand"  CellPadding="1" CellSpacing="5" >
                                  <ItemTemplate>                                     
                                      <asp:HyperLink ID="hlBrand" runat="server" NavigateUrl='<%# "PrdtListByBrand.aspx?prdtBrand="+Eval("Name") %>' Text='<%#Eval("Name") %>'></asp:HyperLink>
                                  </ItemTemplate>
                              </asp:DataList>
                             </div> 
                             </div>
                          </td>
                        </tr>
                        
                        <tr>
                         <td class="style9" valign="top">                          
                             <div style="width: 160px; text-align:left; background-image:url(./Images/Banner/titlebar.gif); background-repeat:no-repeat;" >
                             <div style=" height:18px;text-align:left; padding-left:10px; padding-top:8px; font-size:10pt; color:White;">
                             <span >合作伙伴</span> 
                             </div>
                              <div class="naviborder" >
                              <asp:DataList ID="dlFriendlyLink" runat="server" Caption="" CaptionAlign="Left" 
                              CellPadding="1" CellSpacing="5"  
                                      ForeColor="#333333" RepeatColumns="1" RepeatDirection="Horizontal" 
                                      Width="155px" onitemcommand="dlFriendlyLink_ItemCommand" >
                                  
                                  <AlternatingItemStyle BackColor="White" />
                                  <ItemStyle BackColor="#EFF3FB" />
                                  <SelectedItemStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                  <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />

                                  <ItemTemplate>
                                     <tr>
                                     <td>
                                     <%--<asp:Image ID="Image1" runat="server"/>--%>
                                     <asp:HyperLink ID="hlFriend" runat="server"  CssClass="n" Text='<%#Eval("Name") %>' NavigateUrl='<%# "http://"+ Eval("src") %>' Target="_blank"></asp:HyperLink>
                                    
                                     </td>
                                     </tr>                                     
                                  </ItemTemplate>
                              </asp:DataList>
                              </div>
                              </div>
                          </td>
                        </tr>
                   </table>
                  </div>
                  <div style="width:655px; float:right; ">    
                  
                  
                  <table border="0" cellpadding="0" cellspacing="0"  width="659px">
                      <tr>                          
                         <%-- <td  rowspan="2" valign="top" >                            
                             <div style="width: 160px; text-align:left; background-image:url(./Images/Banner/titlebar.gif); background-repeat:no-repeat;" >
                             <div style=" height:18px;text-align:left; padding-left:10px; padding-top:8px; font-size:10pt; color:White;">
                             <span >商品导航</span> 
                             </div>
                             <div class="naviborder" >
                             <uc1:ProductTypeNavigator ID="ProductTypeNavigator1" runat="server" /><br />
                          &nbsp;<br />
                          &nbsp;</div>
                          </div>
                          </td>--%>
                          <td class="style8" valign="top">
                              <%--<asp:UpdatePanel ID="UpdatePanel1" runat="server">--%>
                              <%--<ContentTemplate>--%>
                                  <uc2:MainPrdtShow ID="MainPrdtShow1" runat="server" />
                              <%--</ContentTemplate>--%>
                              <%--</asp:UpdatePanel>--%>
                          </td>
                      </tr>
                      <tr>
                          <td class="style10" valign="top">
                              <table class="style10" >
                              <tr>
                              <td  class="pro_title" >
                               推荐商品</td>
                              </tr>
                              <tr>
                                <td class="pro_cont" >  
                                  <asp:DataList ID="dlRecoPrdtList" runat="server" RepeatColumns="3" RepeatDirection="Horizontal" Caption="" CellPadding="2" CellSpacing="5" Width="600px" onitemcommand="dlRecoPrdtList_ItemCommand">
                                      <FooterStyle HorizontalAlign="Right" />
                                      <HeaderTemplate>
                                          火辣辣的产品,千万不能错过!
                                      </HeaderTemplate>
                                      <HeaderStyle HorizontalAlign="Left" />
                                      <FooterTemplate>
                                          <asp:LinkButton ID="btnRecMore" runat="server" CommandName="RecMore">点击查看更多</asp:LinkButton>
                                      </FooterTemplate>
                                      <ItemTemplate>
                                      <table>
                                          <tr>
                                              <td><a href='<%# "CommonProducts.aspx?prdtId="+Eval("Id") %>'><asp:Image ID="Image3" ImageUrl='<%#Eval("Src") %>' runat="server" Height="120px" Width="100px" /></a>
                                              </td>
                                              <td valign="top" align="left">
                                              <br />
                                              <asp:HyperLink ID="hlRecPrdt" runat="server" NavigateUrl='<%# "CommonProducts.aspx?prdtId="+Eval("Id") %>' Text='<%#Eval("Name") %>'></asp:HyperLink>
                                              <%--<asp:LinkButton ID="btnPrdt" runat="server" CommandName="prdtId" CommandArgument='<%#Eval("Id") %>' Text='<%#Eval("Name") %>'></asp:LinkButton>--%>
                                              <br />
                                              <asp:Label ID="lblPrice" runat="server" Text='<%#Eval("Price") %>'></asp:Label>
                                              <br />
                                              <asp:Label ID="lblRecDescrip" runat="server" Text='<%#Eval("Description") %>'></asp:Label>
                                              </td>
                                          </tr>
                                      </table>
                                      </ItemTemplate>
                                      
                                   </asp:DataList>
                                   </td>
                                 </tr>
                              </table>
                          </td>
                      </tr>
                      <tr>
                  <%--        <td class="style9" >                         
                             <div style="width: 160px; text-align:left; background-image:url(./Images/Banner/titlebar.gif); background-repeat:no-repeat;" >
                             <div style=" height:18px;text-align:left; padding-left:10px; padding-top:8px; font-size:10pt; color:White;">
                             <span >精品专卖店</span> 
                             </div>
                             <div class="naviborder" >
                              <asp:DataList ID="dlBrandList" runat="server" Caption="" Width="155px" 
                                  onitemcommand="dlBrandList_ItemCommand"  CellPadding="1" CellSpacing="5" >
                                  <ItemTemplate>                                     
                                      <asp:HyperLink ID="hlBrand" runat="server" NavigateUrl='<%# "PrdtListByBrand.aspx?prdtBrand="+Eval("Id") %>' Text='<%#Eval("Name") %>'></asp:HyperLink>
                                  </ItemTemplate>
                              </asp:DataList>
                             </div> 
                             </div>
                          </td>--%>
                          <td class="style10" valign="top">
                              <table class="style10" >
                                  <tr>
                                      <td class="pro_title">
                                       超值折扣区</td>
                                  </tr>
                                  <tr>
                                    <td  class="pro_cont" >  
                                      <asp:DataList ID="dlPromotedList" runat="server" Caption="" CellPadding="1" 
                                          CellSpacing="5" RepeatColumns="3" RepeatDirection="Horizontal" 
                                          Width="600px" onitemcommand="dlPromotedList_ItemCommand" >
                                          <FooterStyle HorizontalAlign="Right" />
                                          <HeaderTemplate>
                                              快来抢购啊!血本大甩卖!
                                          </HeaderTemplate>
                                          <HeaderStyle HorizontalAlign="Left" />
                                          <FooterTemplate>
                                              <asp:LinkButton ID="btnProMore" CommandName="ProMore" runat="server">点击查看更多</asp:LinkButton>
                                          </FooterTemplate>
                                          <ItemTemplate>
                                          <table>
                                              <tr>
                                                <td><a href='<%# "CommonProducts.aspx?prdtId="+Eval("Id") %>'><asp:Image ID="Image2" runat="server" ImageUrl='<%#Eval("Src") %>' Height="120" Width="100" /></a></td>
                                                <td valign="top"><br />
                                                  <asp:HyperLink ID="hlProPrdt" runat="server" NavigateUrl='<%# "CommonProducts.aspx?prdtId="+Eval("Id") %>' Text='<%#Eval("Name") %>'></asp:HyperLink>
                                                  <%--<asp:LinkButton ID="LinkButton5" runat="server" CommandName="prdtId" CommandArgument='<%#Eval("Id") %>' Text='<%#Eval("Name") %>'>LinkButton</asp:LinkButton>--%><br />
                                                  <asp:Label ID="lblPrice" runat="server" Text='<%#Eval("Price") %>'></asp:Label><br />
                                                  <asp:Label ID="lblDiscountPrice" runat="server" Text='<%#Eval("Id") %>'></asp:Label>
                                                </td>
                                              </tr>
                                          </table>
                                          </ItemTemplate>
                                      </asp:DataList>
                                    </td>
                                 </tr>
                              </table>
                        </td>
                      </tr>
                      <tr>
                         <%-- <td class="style9" valign="top">                          
                             <div style="width: 160px; text-align:left; background-image:url(./Images/Banner/titlebar.gif); background-repeat:no-repeat;" >
                             <div style=" height:18px;text-align:left; padding-left:10px; padding-top:8px; font-size:10pt; color:White;">
                             <span >合作伙伴</span> 
                             </div>
                              <div class="naviborder" >
                              <asp:DataList ID="dlFriendlyLink" runat="server" Caption="" CaptionAlign="Left" 
                              CellPadding="1" CellSpacing="5"  
                                      ForeColor="#333333" RepeatColumns="1" RepeatDirection="Horizontal" 
                                      Width="155px" onitemcommand="dlFriendlyLink_ItemCommand" >
                                  
                                  <AlternatingItemStyle BackColor="White" />
                                  <ItemStyle BackColor="#EFF3FB" />
                                  <SelectedItemStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                  <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />

                                  <ItemTemplate>
                                     <tr>
                                     <td>
                                     <asp:Image ID="Image1" runat="server"/>
                                     <asp:HyperLink ID="hlFriend" runat="server" Text='<%#Eval("Name") %>'></asp:HyperLink>
                                    
                                     </td>
                                     </tr>                                     
                                  </ItemTemplate>
                              </asp:DataList>
                              </div>
                              </div>
                          </td>--%>
                          <%--<td class="style10" valign="top">
                              <table class="style10" >
                                  <tr>
                                      <td class="pro_title">
                                          疯狂大礼包</td>
                                  </tr>
                                  <tr>
                                    <td class="pro_cont" > 
                              <asp:DataList ID="DataList3" runat="server" Caption="" CellPadding="2" 
                                  CellSpacing="5" RepeatColumns="3" RepeatDirection="Horizontal" 
                                  Width="600px" >
                                  <FooterStyle HorizontalAlign="Right" />
                                  <HeaderTemplate>
                                      心动不如行动啊!
                                  </HeaderTemplate>
                                  <HeaderStyle HorizontalAlign="Left" />
                                  <FooterTemplate>
                                      <asp:LinkButton ID="LinkButton9" runat="server" >点击查看更多</asp:LinkButton>
                                  </FooterTemplate>
                                  <ItemTemplate>
                                    <td><asp:Image ID="Image4" runat="server" Height="120" Width="100" /></td>
                                    <td>
                                      <asp:LinkButton ID="LinkButton8" runat="server" >捆绑商品</asp:LinkButton><br />
                                      <asp:Label ID="Label5" runat="server" Text="捆绑价"></asp:Label><br />
                                      VS<br /><asp:Label ID="Label6" runat="server" Text="原价" ></asp:Label>
                                    </td>                                      
                                  </ItemTemplate>
                              </asp:DataList>
                                    </td>
                                 </tr>
                              </table>
                          </td>--%>
                      </tr>
                      <tr>
                          <td class="style5">
                              &nbsp;</td>
                          <td class="style6">
                             
                          </td>
                      </tr>
                  </table>
                  </div>
              </td>  
            </tr>
        </table>
    </div>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="Content_rightarea"  runat="server">
    <table  id="content2tab" >
    <tr>
    <td  style=" height:100%">

        <uc3:SpecialGoods ID="SpecialGoods1" runat="server" />

    </td>
    </tr>
    </table>
         <style type="text/css">    
        .adv_ar
        {
          width:256px;
          height:630px;	          
          position:relative;
          left:-4px;
          
        }
        
        .rechis_ar
        {
          width:100%;
          height:342px;	
        }
                              
        /*The center of Master Page*/
       .content_ar
       {
         width:1024px;
         height:100%;
        
       }  
       
       #ContentPlaceHolder1
       {
        width:1024px;
        height:100%;	
        background-color:Green;
       }
        /*The right advertise area of Master Page*/
       .right_advertise
       {
         /*height:100%;*/
         height:50px;	
         width:256px;
         background-color:#91fac7;
       	
       }
    </style>
    <style type="text/css">
        .style5
        {
            width: 160px;
        }
        .style6
        {
            width: 164px;
        }
       
        .style8
        {
            width: 655px;
            height: 192px;
        }
        .style9
        {
            width: 158px;            
            text-align:left;
            vertical-align:top; 
            padding-top:20px; 
                      
        }
        .style10
        {
            width: 655px;
            height: 200px;
            text-align:center;
        }
        
        .pro_cont
        {
          padding-left:30px;
          text-align:left;	
        }
        
        .pro_title
        {
          text-align:left;
          padding-left:20px;	
        }
        .naviborder
        {
        	border-left: 1px solid #6382AD;
            border-right: 1px solid #6382AD;
            border-top: 1px none #6382AD;
            border-bottom: 1px solid #6382AD;
            padding-top:5px;
            width:158px; 
        	height:auto;  
        	    
           
        }
        
        .n{TEXT-DECORATION:none}
        .AutoNewline{width:155px;table-layout:fixed; }
        
        .BigType
        {
           font-size:10pt;
           color:#FF6209;                     	
           	
        }
        
        .SmallType
        {
           font-size:9pt;
           color:#0000FF;
        }
        
    </style>
</asp:Content>